//
//  CBaseRequest.h
//  CedarSuperCloud
//
//  Created by lshenrong on 2017/11/24.
//  Copyright © 2017年 cedarhd. All rights reserved.
//

#import "YTKRequest.h"
#import "CedarBaseResponse.h"


typedef NS_OPTIONS(NSUInteger, RequestSpecialHandleType) {
    SpecialHandleTypeDefault =  0,//缺省
    SpecialHandleTypeLogin =  100,//登录
    SpecialHandleTypeProductAgrenment =  101,//产品协议
};



typedef void(^CedarRequestCompletionBlock)(CedarBaseResponse * _Nullable response);


@interface CedarBaseRequest : YTKRequest


@property (nonatomic,assign) BOOL isNotShowErrorTips;//是否不显示tip
@property (nonatomic,assign) RequestSpecialHandleType requestSpecialHandle;//是否传输不使用token




/**
 请求网络接口
 */
- (void)startCedarRequestWithCompletionBlock:(nullable CedarRequestCompletionBlock)result;

- (id _Nullable )requestAppendArgument;


@end
